package com.example.cloud.dao.inventory;

import com.example.cloud.model.inventory.InventoryDetails;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by wangtao on 2018/6/6.
 */
@Repository
public interface InventoryDetailsRepository extends JpaRepository<InventoryDetails,Long> {
    List<InventoryDetails> findByInventoryIdAndUseInventoryGreaterThan(Long id, int useInventory);
}
